import { createRouter, createWebHistory } from "vue-router";

const routes = [
  // {
  //   path: "/",
  //   name: "home",
  //   component: () => import("@/pages/home/index.vue"),
  // },
  {
    path: "/about",
    name: "about",
    type: "info",
    component: () => import("@/pages/about/index.vue"),
  },
  {
    path: "/contact",
    name: "contact",
    type: "info",
    component: () => import("@/pages/contact/index.vue"),
  },
  {
    path: "/table",
    name: "table",
    type: "info",
    component: () => import("@/pages/table/index.vue"),
  },
  {
    path: "/result",
    name: "result",
    type: "info",
    component: () => import("@/pages/result/index.vue"),
  },
];

const router = createRouter({
    history: createWebHistory(),
    routes
  });

export default router;
